package com.zhang.modules.auth.eneity.cmd;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.aspectj.apache.bcel.generic.ReturnaddressType;
import org.springframework.util.StringUtils;

import java.io.Serializable;

/**
 * A DTO for the {@link com.zhang.modules.auth.eneity.Role} entity
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddRoleDto implements Serializable {

    @ApiModelProperty("角色名称")
    private String id;

    @ApiModelProperty("角色名称")
    private String name;
    @ApiModelProperty("角色描述")
    private String description;
    @ApiModelProperty("角色编码")
    private String code;
    @ApiModelProperty("角色类型")
    private String type;
    @ApiModelProperty("角色用有的权限id")
    private String ids;

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public String getCode() {
        return code;
    }

    public String getType() {
        return type;
    }

    public String getIds() {
        return ids;
    }
}